counts = MetricUtils.concatArrays(days, interval.getStart().getHourOfDay(),
interval.toPeriod().toStandardHours().getHours() + 1);
}
else if (resolution == AggregateCountResolution.day) {
DateTime startDay = new DateTime(c.dayOfYear().roundFloor(start.getMillis()));
DateTime endDay = new DateTime(c.dayOfYear().roundFloor(end.plusDays(1).getMillis()));
int nDays = Days.daysBetween(startDay, endDay).getDays();
DateTime cursor = new DateTime(c.year().roundFloor(interval.getStartMillis()));
List<long[]> yearDays = new ArrayList<long[]>();
DateTime endYear = new DateTime(c.year().roundCeiling(end.getMillis()));