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
Removed unused line

I don't know from where it came but we are using SupportFlow()->reply_type
Using global identifiers for taxonomies

e.g. using SupportFlow()->tags_tax instead of `sf_tags` directly
using `posts_per_page` everywhere

It is now used instead of `numberposts`. Both of them serve same
functionality
Loading all posts when required

By default posts_per_page is 5. This can cause issue in some case when we
want to retrieve all posts. e.g. attachment, predefined replies
Showing 10 tickets per type in my recent ticket widget
Using update_count_callback to update count of tickets using a tag
Merge pull request #193 from VarunAgw/posts-per-page

Standardize use of `posts_per_page` vs `numberposts`
Merge pull request #197 from VarunAgw/tags-count

Update ticket term count when terms assigned.
Merge branch 'master' into cron-interval

Conflicts:
	supportflow.php