Script to get list of tts

Will be using it for alerting if number of TTs go below a threshold.