Question: How many friends does Alice have?
SQL: SELECT count ( T2.friend )  FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name   =   T2.friend WHERE T2.name   =   'Alice'