Pageviews count of page are different than Actions count of dimesions

I have added tracking code globally similarly like below :

<script type="text/javascript">
  var _paq = window._paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//{$PIWIK_URL}/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', {$IDSITE}]);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
</script>

Also I am tracking custom dimension for one of my page(test-page) onload like below :
_paq.push(['trackPageView', 110329791, {dimension1: 'Stories'}]);

So for my page(test-page) :
The problem is I am getting different “pageviews” count under Actions -> Pages
Example :
PAGE URL
/story?storyId=110329791

PAGEVIEWS
1,816

which is different then :
The Action count under Actions -> Custom Dimensions -> Stories
Example :
STORIES
110329791@Stories

ACTIONS
1,610

Ideally both count should same, isn’t It?
Kindly help.