If Unique [ pos ] can be added to the Subset
if check ( pos , currSubset , unique ) : NEW_LINE INDENT return countPrime ( pos + 1 , currSubset ,   \ unique , frequency ) + countPrime ( pos + 1 , currSubset + [ unique [ pos ] ] ,   \ unique , frequency ) NEW_LINE DEDENT else : NEW_LINE INDENT return countPrime ( pos + 1 , currSubset ,   \ unique , frequency ) NEW_LINE DEDENT