DCount(;true)

DCount(;true) counts both the number of participants in an eventfile AND participants that are in the process of a registration currently, fulfilling a fiter

DCount("[Gender]="""  & [Gender] & """";true) 

Returns the number of participants already registered and those who are in the process of the registration who are of the same gender as the considered participant. 

Example: