Added code to scratch.m to compute counting numbers from edgeDist