WordPress not determining correct count of tickets using a tag

It is causing get_terms('hide_empty=1') to return nothing as it is always
0
Using update_count_callback to update count of tickets using a tag
Merge pull request #197 from VarunAgw/tags-count

Update ticket term count when terms assigned.