validated length of title