Finished the logic to get the stats of the weeks.
ref #16