title: WordPress: Get number of user posts with status draft and published
body: <p>I want to count the number of user posts with the status draft and published (combined).</p>
  
  <p>There is the function <code>count_user_posts()</code> but it counts only published posts or all posts.
  As I see it, there is no option to limit to a specific post status.</p>
  
  <p>Is there an other way?</p>