add a len() convenience instance method