[misc] mongodb: use deprecated db.collection.count again GitOrigin-RevId: 93dc05651747ca49b0e26547a330682f85ad9cef