count_questions function

Count number of questions in current lesson