What is the right way to count filled multi value field values in drupal?
$wrapper = entity_metadata_wrapper('entity_type', $entity);
dpm($wrapper-&gt;{FIELD_NAME}-&gt;count());


Dealing with entity reference field you can get the identifires like this:

dpm($wrapper-&gt;{FIELD_NAME}-&gt;value(array('identifier' =&gt; TRUE)));