// Gets number of items if the value is a Collection, Array or an Array-like, otherwise returns -1.
export default function count(value) {
    return value;
}

@@ -1,8 +1,150 @@
+import Iterable from '../iteration/iterable';%0Aimport Collection from '../collections/collection';%0Aimport isArrayLike from './is-array-like';%0A%0A
 // Gets 
@@ -282,20 +282,310 @@
     
-return value
+if (isArrayLike(value)) %7B%0A        return value.length;%0A    %7D%0A%0A    else if (value instanceof Collection) %7B%0A        return value.count();%0A    %7D%0A%0A    else if (value instanceof Iterable) %7B%0A        if (isArrayLike(value.valueOf())) %7B%0A            return value.valueOf().length;%0A        %7D%0A    %7D%0A%0A    return -1
 ;%0A%7D%0A

implement count function