added get_wildcard_count method to user_model