Fix count assertion for capped collection tests