Drupal - how do I return a count of items returned from an entityfieldquery
if you just want the count then you could set the query to count.
something like
$count = $query->count()->execute()
See here for more detail
if you just want the count then you could set the query to count.
something like
$count = $query->count()->execute()
See here for more detail