Currently our portfolio is stacking up a lot and want to show a few projects less instead of showing all. Still, I'd like to show an indication how many projects we did in total. Currently I have the following code and need to count the drafts & published posts.
$count_projects = wp_count_posts( 'apps' );
$published_projects = $count_projects->publish;
$total = $published_projects + 11;
How can I count all drafts & published posts together?