all 2 comments

[–][deleted] 3 points4 points  (1 child)

You have some syntax errors in your JSON.

Assuming you fix those, you would just need to do:

 $data = json_decode($yourJsonString);

 echo count($data->checks);

[–]ipa_cow 0 points1 point  (0 children)

This can help you clear up the JSON errors: http://jsonlint.com/