如何计算此类查询中的帖子:
$countPosts = ???????
$tires = get_posts(array(
'numberposts' => $countPosts,
'post_type' => 'tires',
'meta_query' => array(
'relation' => 'AND',
array(
'key' => 'tire_width',
'value' => '175',
'compare' => '=',
),
array(
'key' => 'tire_height',
'value' => '70',
'compare' => '=',
),
),
));
我需要分页的总数