Photogate with drop counter