Removed awkward counting of elements of Iterable, using Commons Collections now (test scope only).