Created counter keys from db