count and support for iterables