If I have an array in the following format:
Array (
[0] => Array (
[0] => Array (
[count(*)] => 7
)
)
[1] => Array (
[0] => Array (
[count(*)] => 1
)
)
[2] => Array (
[0] => Array (
[count(*)] => 1
)
)
)
How can I return it as the format below:
# What I need to capture into the new array:
# [count(*)] => 7 , [count(*)] => 1, [count(*)] => 1
# So the values would be summed from the sub-arrays:
# 7+1+1 = 9
# The array would end up with just one value in it which is the sum
Array(
[0] => 9
)
I just want to get the total count from that array, any ideas?