Let \( R=\{a,b,c,d,e\} \) and \( S=\{1,2,3,4\} \). The total number of onto functions \( f:R\to S \) such that \( f(a)\neq 1 \), is equal to ______.