stats plugin: Add support for sets.