MalygosCP was so good for malygos I modified it to count pyrite stacks instead ! Only works when you're the demolisher driver and consumes ~10kib of memory.