If the number that starts with firstDigitL and has number of digits = countDigitsL is within the range include the number
if ( getDistinct ( firstDigitL , countDigitsL ) >= L ) : NEW_LINE INDENT count += ( 9 - firstDigitL + 1 ) NEW_LINE DEDENT