Use the ARRAY_SIZE() macro where appropriate.