def recalculate_tagcount(tag):
    tag.count = public_posts_base.filter(Post.tags.contains(tag)).count()

# }}}

# Template filters {{{
Calculate how many times a given tag is used in public Posts
dataset/ETHPy150Open jkossen/imposter/admin.py/recalculate_tagcount