Fix display of entry count

Fixes #39.