count is a common data resource attribute that gives the number of records.
It's a logical counter while size is physical one that gives the physical size on disk.