[PATCH 4/7] hnetcfg: Implement static_ports_get_Count().