Add granularity support in GetAll method call on statistics interface