What is the optimal method for getting the number of posts by an author in a category? I'm not looking to get the posts themselves, just a count of them.
count_user_posts returns a count of all the posts of a user in a post type, but there is no option to filter by category. Any ideas would be much appreciated. Thanks!