allows to inclue ANSI SGR codes into molecules

Simple patch that removes eventual ANSI SGR code from the calculation of the length, so allowing to pass colors and styled into progress bars molecules.