query: SELECT count(T2.friend) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T1.name  =  'Dan'
question: How many friends do Dan have?
query_toks: SELECT count ( T2.friend ) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T1.name = 'Dan '
query_toks_no_value: select count ( t2 . friend ) from person as t1 join personfriend as t2 on t1 . name = t2 . name where t1 . name = value
question_toks: How many friends do Dan have?