Count the number of distinct company industries.
select count(distinct industry) from companies