What you want is a photomultiplier tube.
This is an evacuated glass chamber whose active surface is coated with a thin layer of a metal with good electrical conductivity and a small "work function," which is the energy required for a photon to eject an electron. This "photocathode" is held at a large negative potential, so that ejected electric are repelled from it and travel towards a conductor at a less negative potential, usually a few hundred volts of difference. The accelerated electrons crash into the surface and liberate several more electrons, which travel towards the next electrode, where they multiply again. By the time the pulse reaches the anode, a single photoelectron has become perhaps $10^7$ electrons, a charge of about $10^{-12}$ coulombs, which is a microamp of current if the pulse duration is a microsecond. With appropriate pulse-shaping electronics you can see the photon pulses on an oscilloscope, and use them as logic triggers for some photon-counting system.
There are also "avalanche photodiodes," which do the same sort of thing, but all in silicon.
The measurement you describe would be challenging. Any single-photon detector will have a "dark current" of electrons from the photocathode when the detector is not exposed to any light source. The "detection efficiency" is also finite: not every photon that sees the cathode will send an electron into the vacuum.