Calculate the entries count assuming the sphinx is not updated yet