TOC
mysql> SELECT COUNT(*|`field_name`) FROM `table_name`;
mysql> SELECT SUM(`field_name`) FROM `table_name`;