patterncount code quiz