Let \( S=\{1,2,3,4,5,6,7\} \). Then the number of possible functions \( f:S\to S \) such that \( f(m\cdot n)=f(m)\cdot f(n) \) for every \( m,n\in S \) and \( m\cdot n\in S \) is equal to \( \underline{\quad} \).