Database: world_1
Question: How many languages with filter T for isOfficial 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"