Correctly calculate length of CL_CONTEXT_PROPERGTIES Array