added cache expiry check to ContainsKey, Values, Count