Add :counts option for docs-to-dataset