Counting fluorescent emitters with a single photon avalanche diode array