def remove_token_from_category(category, token)
      cat_data(category)[:tokens][token] -= 1
      delete_token_from_category(category, token) if cat_data(category)[:tokens][token] < 1
      cat_data(category)[:total_tokens] -= 1
      delete_category(category) if cat_data(category)[:total_tokens] < 1
    end
def remove_token_from_category(category, token)
      cat_data(category)[:tokens][token] -= 1
      delete_token_from_category(category, token) if cat_data(category)[:tokens][token] < 1
      cat_data(category)[:total_tokens] -= 1
      delete_category(category) if cat_data(category)[:total_tokens] < 1
    end
Decrement the token counter in a category
 If the counter is 0, delete the token.
 If the total number of tokens is 0, delete the category.