A function used to return the element counts in an array.
Array
_types = [0,0,1,1,1,1] call CBA_fnc_getArrayElements
Array element counts (for above example, return would be [0,2,1,4])
Rommel && sbsmac