Tag index stopped displaying count.posts

I have a tag index for my Ghost blog that, was displaying the count.posts for each tag until recently. I noticed the count values are no longer displayed (I did update to the latest version of Ghost recently, not sure if that’s a factor or not).

Here is the page: https://mentalpivot.com/tags/
Ghost version: 3.30.0
Theme: Weblog by Curiositry
Hosting environment: Digital Ocean droplet, Ubuntu 18.04

For the tag index I have the following code (page-tags.hbs):

<main class="container content" id="content">


<header class="page__header">
  <h1 class="page__title mt0">{{title}}</h1>

{{#get "tags" limit="all" include="count.posts" order="count.posts desc"}}
{{#foreach tags}}
    <a href='{{ url }}'>{{ name }}</a> <small>({{ count.posts }})</small>


After scouring the forums for further insight and fiddling with my theme, I am stuck. Any advice or pointers are appreciated.

I figured out the problem. It had to do with the Ghost Content API version my theme was using.

My theme was set to v2 of the Ghost Content API (in the package.json file).

I changed the value to v3 and updated the theme. The tag index now displays the posts.count properly. I need to check the theme to make sure this change didn’t break any other aspects of the rendering or v2 API calls (no ideas what the forward or backward compatability is for Ghost here).

If anyone else encounters this problem, hopefully this helps.