Python || Simple Solution
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\no(t)\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\no(1)\n\n# Code\n```python3 []\nclass Solution:\n    def lengthAfterTransformations(self, s: str, t: int) -> int:\n        c = Counter(s)\n        m = (10 ** 9) + 7\n        for i in range(t):\n            temp = defaultdict(int)\n            for i in range(97, 122):\n                ch = chr(i)\n                temp[chr(i + 1)] = c[ch]\n            temp[\'a\'] = (temp[\'a\'] + c[\'z\']) % m\n            temp[\'b\'] = (temp[\'b\'] + c[\'z\']) % m\n            c = temp.copy()\n        return sum(list(c.values())) % m\n                \n        \n```
['Hash Table', 'Simulation', 'Python3']