fix bug: lesson count for teacher displays wrong