My array is below. What I am trying to do is count the number of nodes in the array have null or 'new' for read_status.
Is there something more sufficient than looping through the array?
Array
(
[0] => Array
(
[id] => 428
[read_status] =>
)
[1] => Array
(
[id] => 427
[read_status] =>
)
[2] => Array
(
[id] => 441
[read_status] => new
)
[3] => Array
(
[id] => 341
[read_status] => read
)
)
So the count should be 3.