The number of functions $f$, from the set $A = \left\{ x \in N : x ^ { 2 } - 10 x + 9 \leq 0 \right\}$ to the set $B = \left\{ n ^ { 2 } : n \in N \right\}$ such that $f ( x ) \leq ( x - 3 ) ^ { 2 } + 1$, for every $x \in A$, is $\_\_\_\_$ .
The number of functions $f$, from the set $A = \left\{ x \in N : x ^ { 2 } - 10 x + 9 \leq 0 \right\}$ to the set $B = \left\{ n ^ { 2 } : n \in N \right\}$ such that $f ( x ) \leq ( x - 3 ) ^ { 2 } + 1$, for every $x \in A$, is $\_\_\_\_$ .