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-&gt;count()-&gt;execute()


See here for more detail