#Added new method for determining size of cache