Phonon number measurements using single photon opto-mechanics