Photon counter (~20E6 pulse/sec counter)

Filter the signal in hardware and correlate the analog output of the filter to average photons detected. This will take some calibration to figure out the conversion factor, but it certainly is possible