Fixed tag count when using showDeleted = 0 or showUnpublished = 0

Resolves #16