Table:
0
A
B
C
D
E
F
G
H
1
Stage
Winner
General classification
Points classification
Mountains classification
Asian rider classification
Team classification
Asian team classification
2
1
Mattia Gavazzi
Mattia Gavazzi
Mattia Gavazzi
Jaco Venter
Dmitriy Gruzdev
South Africa
Malaysia
3
2
Mattia Gavazzi
Mattia Gavazzi
Mattia Gavazzi
Janse Van Rensburg J
Dmitriy Gruzdev
South Africa
Malaysia
4
3
Mattia Gavazzi
Mattia Gavazzi
Mattia Gavazzi
Janse Van Rensburg J
Dmitriy Gruzdev
South Africa
Malaysia
5
4
Samai Amari
Mattia Gavazzi
Mattia Gavazzi
Jeremy Yates
Samai Amari
South Africa
EQA-Meitan Hompo-Graphite Design
6
5
José Serpa
José Serpa
Mattia Gavazzi
José Serpa
Tonton Susanto
Diquigiovanni-Androni
Iran
7
6
Mattia Gavazzi
José Serpa
Mattia Gavazzi
José Serpa
Tonton Susanto
Diquigiovanni-Androni
Iran
8
7
Yohann Gene
José Serpa
Mattia Gavazzi
José Serpa
Tonton Susanto
Diquigiovanni-Androni
Iran

Questions and formulas:
Question: When samai amari is the asian rider classification how many asian team classifications are there?
Formula: ROWS(UNIQUE(FILTER(H1, F1="Samai Amari")))
Formula2: ROWS(UNIQUE(FILTER(H2:H8, F2:F8="Samai Amari")))
Level: medium
Question: When 4 is the stage who is the general classification?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)=4))
Formula2: LET(query1,SUMMARIZE(C2:C8,SUMX(A2:A8)),FILTER(query1,CHOOSECOLS(query1,2)=4))
Level: hard