Added a count of the layers in the GeoServer layer preview.
A little refactoring.