how to find total many - one functions