I am having a brain fart on this one because I can't figure out how to get this count to return as expected :
$ajax_result['data'] = array('ID' => 0, 'Timestamp' => $_POST['end_date'] * 1000, 'Total' => 0);
echo count($ajax_result['data']);
The above returns 3 - I am expecting it to return 1 or would like it to (1 array in the array). $ajax_result['data'] can possibly contain many arrays and that is the total I need to get.
The format of this needs to stay the same because these results are used by a plugin that needs them in this format.
is_array($ajax_result['data'])?