Currently, the way to get the number of objects in a collection is to do
await collection.aggregate.overAll().then((res) => res.totalCount)
We should add a method:
await collection.length()
as a shortcut for this to bring feature-parity with the Python client to the TS client