Complex sentence: The song was rewritten by Vaali for over 5 times and Kamal Haasan was still unhappy with it only at his sixth attempt, he became successful in delivering what Kamal wanted.
Split into simpler sentences: The song was rewritten by Vaali for over 5 times and Kamal Haasan was still unhappy with it. Only at his sixth attempt, he became successful in delivering what Kamal wanted.