diff --git a/open-data-resources.html b/open-data-resources.html
index ecab085f085719b94fe7ce2d55baad8f0a4a3c3b..c1fba354f090e00fb859539a13ed0459dfb057a0 100644
--- a/open-data-resources.html
+++ b/open-data-resources.html
@@ -60,7 +60,7 @@ title: Open data resources
               [<a href="{{facility.odr.oai-pmh-endpoint.link}}?verb=Identify">Identify</a>]<br/>{%
             if facility.odr.oai-pmh-endpoint.items
               %}Datasets:&nbsp;<b>{{facility.odr.oai-pmh-endpoint.items.count | thousands_separated}}</b>{%
-              assign total_oai_pmh_dataset_count = total_oai_pmh_dataset_count | plus: facility.odr.pan-search-api.dataset_count %}{%
+              assign total_oai_pmh_dataset_count = total_oai_pmh_dataset_count | plus: facility.odr.oai-pmh-endpoint.items.count %}{%
               if facility.odr.oai-pmh-endpoint.items.sets%}
                 <br/>
                 <span class="caret">Categories:&nbsp;{{facility.odr.oai-pmh-endpoint.items.sets.count | thousands_separated}}</span>