Added the "totalSmell" method.