Yes, you are on the right track. Your curve is parametrised by \(\displaystyle \theta\), so you just need to build the integral \(\displaystyle \int \limits_C \mathrm d s = \int \limits_C \big| \big|\mathbf{ r}'(\theta) \big| \big| \, \mathrm d \theta\).