select count(all grade) from customer;SELECT COUNT(DISTINCT customer_id) FROM customer WHERE grade IS NOT NULL;