How many customers have an account?
select count(distinct customer_id) from accounts