Converts array_getter_length to a C function.
travisplexer: pr-119-osx travis ci test