adding sql statements for getting counts by day of week