How many tasks are there?
select count(*) from tasks