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