Database: world_1
Question: For all the countries, what is the total number of distinct official languages?
SQL: select count(distinct t2.language) from country as t1 join countrylanguage as t2 on t1.code  =  t2.countrycode where  t2.isofficial  =  "t"