Added exporting of country representation count
Fixed runtime error with exporter