API C FriendList.GetNumFriends

Returns how many friends you have. numFriends = C_FriendList.GetNumFriends

Returns

 * numFriends : Number - the number of friends you have (max 100).