If you're checking with the same year, just put all
the if statements in check_count_time(), should work.

Yeah, wait(week*4) doesn't work correctly, but it
works with smaller value such as week = 1.