Clusters of galaxies and the statistics of emission-line galaxies