working on export
now we can export source-count
Impl exporter
impl bath export, add a lot repo method