Returns the number of permissions for the current data object.
If no elements are contained in the collection, then the default value 0 is returned.