Count time to the end of lesson