This is my VF page:
<apex:page standardController="Account">
<apex:relatedList list="Contacts" />
</apex:page>
I would like to show number of records in the related list. I´ve tried, without success, with:
{!Account.Contacts.size}
How can i accomplish this?
UPDATE: I know that i can do it in a controller extension (query contacts + size on result list) but i would like to calculate the number of record directly in the VF page.
Thanks in adavantage for any advice