Use serialized count and time for time window for string typed key value storage