https://api.telegram.org/bot[token]/getChatMember?chat_id=[chatId]&user_id=[user_id]
ссылка на описание метода https://core.telegram.org/bots/api#getchatmemberWHERE Datetime BETWEEN '20211105' AND '20211109'
AND Status IN ('Новый', 'В работе', 'Доработка')
teacher_student_count = User. courses.all().aggregate(Count('students')