Element Count using mdlLevel_getElementCount(lCount, ActiveModelReference.MdlModelRefP, oLevel.ID) with Connect Edition

We used to be able to use mdlLevel_getElementCount(lCount, ActiveModelReference.MdlModelRefP, oLevel.ID) to get an element count of a level in V8i, it seems to have stopped working in connect? it errors on MdlModelRefP with a type mismatch