Bash Add numbers output in a shell

Pipe any output to :

awk ‘{total = total +$1}END{print total}’