Database: world_1
Question: How many T official languages are spoken in Afghanistan?
SQL: select count(*) from country as t1 join countrylanguage as t2 on t1.code  =  t2.countrycode where t1.name  =  "afghanistan" and isofficial  =  "t"