Displays number of sensors connected.
Validation for noHostnames
Refactoring and documentation.