[PATCH] view: Use the ARRAY_SIZE() macro