A challenge in biosensors: Is it better to measure a photon or an electron for ultrasensitive detection?