The abundance of z ≳ galaxy candidates in the HUDF using deep JWST NIRCam medium-band imaging