The abundance of $z \gtrsim 10$ galaxy candidates in the HUDF using deep JWST NIRCam medium-band imaging