@property
    def layer_count(self):
        return capi.get_layer_count(self._ptr)
Testing the `unionagg` GeoQuerySet aggregates on related geographic models.
dataset/ETHPy150Open django/django/django/contrib/gis/gdal/datasource.py/DataSource.layer_count--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/tests/relatedapp/tests.py/RelatedGeoModelTest.test04b_related_union_aggregate