Add leak count to the plugin runner for tracking in the report.
Fixes #422.