Working of transformCount