util: add an ARRAY_SIZE helper. am: 404d2bb026 am: 94f04ca3b7
am: 8067836366

Change-Id: I20c66ffe39d59fb00f14bf4f2689318c498844e4