Statistics for Ternary derivations of triangular algebras