Added get_resource_count method to Possession class.