Added 'count' argument to list friends API method