example for getting PostGIS layer record count by name #15