convert_to_seconds function

Convert a duration string to number of seconds