Added document count by tag with related tests