Removed getnumfriends()

Did a quick grep, function doesn't seem to be used anywhere, and didn't affect building nTox.