No they dont count TR hours in order to get ur RTR renewed, you first understand the logic behind the 30 hours rule, they want to see that you have flown 30 hours in last 3 years on VT ( in indian Territory only) Registered Aircraft, so that they know you have used the indian RT language in last 3 years and that makes you eligible to get it renewed without appearing for any of the exam.
Hope this makes sense to you and help clear your doubt
Regards