social network analysis: friend count in mapreduce