Added function to fetch tags from problems
Added function to update tag count