Add Collection.resource_count method

Signed-off-by: Byron Ruth <b@devel.io>