added num_people parameter for friendsdata.py