fix count regex