Sum a column with awk

Terminal
awk '{ sum += $2 } END { print sum }' <file>