Using the count(*) operator in VQL, How do I get the number from the returned result?

The result returned is an array of one row, that contains an array with one element which is the count result. That result can be accessed as index 0 or with the key 'count':
array(
   [0] => array(
       [count] => 12
   )
)


Next| Chapter 20: Add web service end points.


Updates