A domain like "discuss.leetcode.com" is made of labels separated by dots. Visiting it also counts as a visit to every parent domain: "leetcode.com" and "com".
A count-paired domain is a string "rep d", meaning domain d was visited rep times, for example "9001 discuss.leetcode.com".
Given an array of count-paired domains cpdomains, return an array of the count-paired domains of every subdomain that was visited, in any order.