How many Patent outcomes are generated from all the projects?
create table project_outcomes (outcome_code varchar, PRIMARY KEY (outcome_code))
select count(*) from project_outcomes where outcome_code = 'patent'