added functions for day week month and year totals