Index: wp-admin/includes/dashboard.php
--- wp-admin/includes/dashboard.php
+++ wp-admin/includes/dashboard.php
@@ -267,7 +267,7 @@
 	// Posts and Pages
 	foreach ( array( 'post', 'page' ) as $post_type ) {
 		$num_posts = wp_count_posts( $post_type );
-		if ( $num_posts && $num_posts->publish ) {
+		if ( ! empty( $num_posts ) && ! empty( $num_posts->publish ) ) {
 			if ( 'post' == $post_type ) {
 				$text = _n( '%s Post', '%s Posts', $num_posts->publish );
 			} else {
