use API function for friend count instead of global var
count_friendlist is too inefficient to use that way
show number of online friends