{ total += $3; n++ } END { if (n) print total / n; else print "no data" }