For the purpose of subdivision nine of section thirty-nine of the judiciary law, the contributions (other than contributions by contributors) required by law to be made to the retirement system, in so far as such contributions are attributable to elections made by contributors under paragraph (a) of such subdivision nine, including, without limitation, the contributions required to be made in relation to such contributors by sections 13-527 of this chapter and 13-704 of this title, shall be pension costs for which payments shall be made to the retirement system by the comptroller of the state of New York pursuant to the provisions of paragraph (b) of subdivision nine.