Fixing wrong count of the letters per row.