Logic for n-of-a-kind near completion
n-of-a-kind complete