fixes in Caching API implementation (expireIn and expireAt methods)
added Counters API implementation