It seems probable that this song was founded upon the Buddhist formula which required the devotee to utter nine times the word saranam  three times to Buddha  three times to the law or doctrine  and three times to the congregation (=church  or order)