Question: How many of them are friends with Bob?
SQL: SELECT count ( * )  FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name   =   T2.name WHERE T2.friend   =   'Bob'