Precisely determining photon-number in real time | Synapse