This is a nice idea and gave me a lot of thinking about as i have 4 children.
I would make this count water quantity and not time. For quantity counting i would use cheap water meter that is easily hackable for getting output 1 or even 0,1 liters.
As it is for shower you can use normally...