URL origin inventory

Count URLs by origin across a newline-separated list, grouping equivalent default ports.