select count(*) FROM dataset where rowid is not null; .output