Using the tile rendering counter in mgframework instead