Text this: Photon number resolution without optical mode multiplication