Added port to port counting instead of ips