Approach: Sort the digits 1-9 into the relevant categories first (perfect squares, primes), see which digits are actually available, and build the smallest number from what's left.
Step 1: Identify forbidden and special digits. Perfect squares among 1-9: \(1, 4, 9\), all forbidden. Primes among the remaining digits \(\{2,3,5,6,7,8\}\): \(2,3,5,7\). Non-prime among them: only \(6\) and \(8\).
Step 2: Only one digit can be prime. Since exactly one digit is prime and the other two must be non-prime, non-square, distinct digits, and only \(6\) and \(8\) qualify as non-prime options, both must be used as the two non-prime digits. The third digit is whichever prime from \(\{2,3,5,7\}\) is chosen.
Step 3: Minimise \(N\). To keep \(N\) smallest, pick the smallest available prime, \(2\), and arrange all three digits \(\{2,6,8\}\) in increasing order: \(N = 268\).
Step 4: Factorise. \(268 = 2^2 \times 67\). Number of factors \(= (2+1)(1+1) = 6\).
\[ \boxed{6} \]