count - get_entities_from_relationship

Hello all, 

I cannot get the "Count" mode of the function to work .. I am trying the following: 

$count = get_entities_from_relationship ( 'relationship', $object1_guid, false, 'object', 'object2', 0, '', 10, 0, true, 0) ; 

However, if I remove the "Count" mode and try the following. it works: 

$objects = get_entities_from_relationship ( 'relationship', $object1_guid, false, 'object', 'object2', 0, '', 10, 0, false, 0) ; 

Am I missing something here? 
Thanks,
Nanda