Fixing the text count