1{s = s + $1; c = c + 1}
2END {
3print "sum=", s, " count=", c
4print "avg=", s/c
5}
6