@starkmanish on WordPress.org
Created ticket #31677 on Core Trac:count_user_posts is not working in wordpress 4.1