Remove color codes before summary line counting

This will fix issue #10.