added statistics method to ehcache