In this example can I confirm that COUNT counts every row in the main table while SELECT COUNT counts every row that is filtered using WHERE? Thank you!
SELECT CAST(COUNT(*) as float)/CAST((SELECT COUNT(*) from recent_grads) as float) proportion_abv_avg from recent_grads
WHERE ShareWomen >
(SELECT AVG(ShareWomen) from recent_grads)