Use the ARRAY_LENGTH() macro when possible