add length property accessor