Validates length of