Python script that counts valuable ores within a chunk and exports to csv