You can use http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/reverse_related_objects_count
Or related_contentobject_count / reverse_related_contentobject_count on content object: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Objects/ezcontentobject
The above works for all types of reverse relations ( not just object level, but also attribute-level ). If 'all_relations' is omitted from the fetch statement, it would default to false and the fetch would then not show attribute-level relations.
Your relations, in this case, are at attribute level. {$node.object.reverse_related_contentobject_count} works for object-level relations but apparently not for attribute-level. And it is deprecated anyway.
The Web Application Service Provider
You must be logged in to post messages in this topic!