Fixed EstimateCountAsync when reading the last segment