Add average calculation for all frequencies in daily metric
Add tests for daily metric