THPDFJSONValue.MemberCount

Returns the number of key and value pairs held in this object

function MemberCount: Integer;

The unit is HPDFDocJobs; values of the other kinds report zero

Members are addressed by key by way of accessors such as GetMember, not by index

ItemCount is the array-side counterpart