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