public void incrementCount() {
        long now = System.currentTimeMillis();
        if (count.incrementAndGet() == 1) {
            first.compareAndSet(0L, now);
        }
        last.updateAndGet(v -> Math.max(v, now));
    }
@Test
    void testIncrementCount() {
        PrioritizedFilterStatistics stats = new PrioritizedFilterStatistics("test");
        long first = stats.getFirst();
        Assertions.assertEquals(0, stats.getCount());
        stats.incrementCount();
        Assertions.assertEquals(1, stats.getCount());
        long last = stats.getLast();
        Assertions.assertTrue(last > first);
    }