I have an array like this
Array
(
[0] => Array
(
[label] => A
[uid] => 429
[country_id] => 3
[date] => 2015-02-11 13:55:34
[DiffDate] => 20
)
[1] => Array
(
[label] => A
[uid] => 429
[country_id] => 2
[date] => 2015-02-11 13:55:34
[DiffDate] => 20
)
...... and so on
)
Now I have to calculate number of occurrences of country records example
country 1 has total 10 occurrence
country 2 has total 20 occurrence
I need help as there are lot of arrays created also I am getting country id as different array
thanks in advance