Fixed bug with keys counter (Redis 2.4) - issue #1015