SQL> select count(*) cnt, extract(year from (trunc(order_date, 'yyyy'))) by_year from sales group by trunc(order_date, 'yyyy')  order by 2;

       CNT    BY_YEAR
---------- ----------
    486400       2020