XD-1047: Add timeField and timeFormat to aggregatecounter