added PhotonCounter.v