Photonencounter