Fix a bug in  get_week_count()