db: added in count option to find_jobs