[FIX] View: fixed return type of length()