Get count only?

Is there way to only get the count of records (of a relation)? in stead of whole data?
Was this page helpful?