Clustering statistics in cosmology