Added line to measure number of friendships returned in each query. Accordingly downsized number of friends per request to make exceeding the 5,000 row limit very unlikely.