CountingGenerator