Liczba komentarzy z ostatniego roku :8
array(2) {
  [0]=>
  array(2) {
    ["comment_approved"]=>
    string(1) "1"
    ["num_comments"]=>
    string(3) "911"
  }
  [1]=>
  array(2) {
    ["comment_approved"]=>
    string(5) "trash"
    ["num_comments"]=>
    string(1) "4"
  }
}

2023

2022

2021

2020

2019

2018

2017

2016

2015

2014

//foreach ($posts as $post) { // // Output comments etc here // //}