code: public TemplateStats[] getTemplateStats() {
      	Collection<TemplateStats> collection = mStatsMap.values();
      	TemplateStats[] result = null;
      	if (collection.size() > 0) {
      		result = collection.toArray(new TemplateStats[collection.size()]);
      	}
      	return result;
      }
docs: Returns an array of template stats.
  
  Returns the template raw and aggregate statistics so as to
  better understand the performance of templates through time.
  
  @return the template stats for this given template.