Prior to this this function wanted a string as input. If we have a string ruby side we certainly dont need a railgun call to work out the length!