<put algortithm description here>
processing.runalg('qgis:statisticsbycategories', input_layer, values_field_name, categories_field_name, output)