@@ -0,0 +1,183 @@
+package org.psjava.util;%0A%0Apublic class SizeOfIterable %7B%0A%0A%09public static %3CT%3E int getSize(Iterable%3CT%3E iterable) %7B%0A%09%09int size = 0;%0A%09%09for (T t : iterable)%0A%09%09%09size++;%0A%09%09return size;%0A%09%7D%0A%0A%7D%0A

add a small util - SizeOfIterable