Count values in an array.