Quantum non-demolition phonon counter with a hybrid optomechnical system