Added count() to iterator