Fix ArrayController#length when content is not explicitly set

Fixes #2416. If `content` is not set explicitly, `ArrayController#length` currently breaks.