Oh ya, this is like the approach from the Incompressible Knowledge Probes [0] paper - smart!
[0] Incompressible Knowledge Probes: Estimating Black-Box LLM Parameter Counts via Factual Capacity [https://arxiv.org/abs/2604.24827]