g_length function

Compute the length of a geometry