Rest input size should consider not only text length, but also word-spacing.