Expose confirm listener counts for testing