[PATCH] services: Use the ARRAY_SIZE() macro