I am using Array_Map to count the values of an array. Sample output from query looks like this -
Array_Map
array(4) { [0]=> object(stdClass)#2657 (1) {