Innovative technology used to count individual photons from distant galaxies