public long count() {
        return delegate.estimatedDocumentCount();
    }
@Test
    void count() {
        final var collection = jacksonCollection("simple", Simple.class);
        final List<Simple> items = List.of(
                new Simple("000000000000000000000001", "foo"),
                new Simple("000000000000000000000002", "bar")
        );
        collection.insert(items);
        assertThat(collection.count()).isEqualTo(2);
        assertThat(collection.count((DBObject) new BasicDBObject("name", "foo"))).isEqualTo(1);
    }