Statistics of Sunyaev—Zel'dovich cluster surveys