Filter options on relationships (many-many)

I have a collection “games”. Each game has some players from another table (many-many). But I then want to filter all games on these same - for example - 3 players.

Use-case

I have played a game with the 4 players several times.

From all the games I played with these 4 players, i want to count the wins.