function getTotalLength(pathInput) {
  return pathLengthFactory(pathInput).length;
}
Returns the shape total length, or the equivalent to `shape.getTotalLength()`.

The `normalizePath` version is lighter, faster, more efficient and more accurate
with paths that are not `curveArray`.

@param {string | SVGPath.pathArray} pathInput the target `pathArray`
@returns {number} the shape total length