length for ints and strings