@Override public int count(FilterCard filter, UUID sourceId, UUID playerId, Game game) { if (sourceId == null) { return count(filter, playerId, game); } return (int) this.stream().filter(card -> filter.match(game.getCard(card), sourceId, playerId, game)).count(); }