changed the counting method.
Merge branch 'master' of github.com:bthelen/mbtiles-util