I think the correct code should be: `const size_t context_count = sizeof(contexts)/sizeof(contexts[0]);`