If that map is differentiable, then it's $\int\|\gamma'(t)\|dt$
If it's not, then you can define it as the supremum of
If $\cal P$ is a partition of $[a,b]$ into $a=t_0,t_1,\dots,t_n=b$, then $\ell(g,\mathcal P)$ is $\sum_{i=1}^n\|g(t_i)-g(t_{i-1})\|$
and then $\ell(g)$ is the supremum of $\ell(g,\mathcal P)$ over all partitions $\cal P$
And then you have to show that that equals $\int_a^b\|g'(t)\|dt$ when $g$ is differentiable