Is it possible to count variable number of participants to use in calculations?