Fill in countMissing so that it returns how many elements of have are not present in known, counting every occurrence.
countMissing
have
known
Put known into a set first, then test each element of have. The program prints 2 — both copies of x.
2
x