Documentation
COUNT
usage
<COUNT>
<element_type>
...criterias...
</element_type>
</COUNT>
retourne
@totalCount (on a RESULTS element)
Command that counts the number of elements matching the given criterias.
exemples
<COUNT>
<MEDIA>
<INFO>
<MEDIATYPE>Product</MEDIATYPE>
</INFO>
</MEDIA>
</COUNT>
gives the number of products
<COUNT>
<MEDIA>
<INFO>
<MEDIATYPE>Product</MEDIATYPE>
</INFO>
<DESCRIPTIONS>Television</DESCRIPTIONS>
</MEDIA>
</COUNT>
gives the number of product with "Television" in their description
<COUNT>
<CONTACT>
<INFO>
<FIRSTNAME>John</FIRSTNAME>
</INFO>
</CONTACT>
</COUNT>
gives the number of Contacts with "John" as firstname