Returns the number of seconds for a string using the milliseconds format used by the ms npm package as the input.