Fix for Bug 1375126: Displaying 0 if there are no networks or instances.

Change-Id: I1cba8f4cb25903a2f477fe860f29ee4c76ca90df