Pipe any output to :

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