Count the number of invoices.
select count(*) from invoices