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