Counting photoelectrons in the response of a photomultiplier tube to single picosecond light pulses