Feasibility of swim lap counter

idea:

  • As water is transparent for light you could lay a mirror on the bottom and have a laser pointing at it and measure reflection?

  • A TSL235R light intensity sensor might be able to detect a shadow ?