update internal-send port-count when target port-count changes