inverted_index and friend_count