Added ore counters and fixed ore counting