Small library for reliably measuring Coherence index sizes