Hey Artur, thanks for responding
I guess if I can explain a little better..
when i produce a post query I can pull up all of my blogs posts into a single page. These posts creation date range from 2016 to 2014. if possible , i would like to store the count of that range of years.
so in this instance , for a query of all my posts there is 2016, 2015, and 2014 or in other words 3 years of posts.
My guess is that the post query stores the years in an array and if so I just need the length of that array.
maybe this is a better explanation. Im new to php so i apologize if i am failing to get my point across