@Test
public void testCount() {

    CheckedIterator<String, RuntimeException> iterator;
    iterator = create();
    assertEquals(0, iterator.count());
    iterator = create("one");
    assertEquals(1, iterator.count());
    iterator = create("one", "two");
    iterator.next();
    assertEquals(1, iterator.count());
}