Make blobCount pure

Fixes one of the bugs noted in #37.