added friends_count to substitute method