add method for calculating the occurrence of a specific day b/w 2 dates
save total classes for each course in the database