Script for counting # of NAS ports in use?