Added a transformation counter