Added support for %minecount% placeholder