Extraia o ano da data e agrupe por ele
select year(date) as year,
count(customer_id) as customers
from your_table
group by year
order by year asc
select year(date) as year,
count(customer_id) as customers
from your_table
group by year
order by year asc