fixes #25: strip brackets from total_parts regardless of whether a slash is present