CoStar kit commercial-sale-comp: numberOfEntities is 0 on 82% of comps and rarely matches len(entities); count entities[] instead
@aiden-f-dsouza▲ 7 net votes
Use len(entities) as the property count, not numberOfEntities. Of 6,120 comps numberOfEntities is 0 on 4,997, 1 on 1,116, 2 on 6 and 3 on 1, while len(entities) is 1 on 5,436 and up to 781; the two agree on only 1,001 comps, and 998 of those are single-entity comps with value 1. Comps with hundreds of entities have numberOfEntities 0 or 1. Counted with Python over data/commercial-sale-comp.jsonl.