List of utility methods to do Iterable Size Get
if (iterable instanceof Collection<?>) return ((Collection<?>) iterable).size(); return size(iterable.iterator());