Statistics of Yang-Mills solitons