Issue
Views counts may not match when calculated using views_stats, historical_events, and view_metrics_aggregations.view_metrics_aggregations
SELECT sum(view_count) FROM view_metrics_aggregations v where v.view_id in (select id from views where workbook_id='<workbook id>');
For more information about this table, see view_metrics_aggregations in Tableau Help.
historical_events
select count(*) from historical_events e
where e.hist_workbook_id in (select id from hist_workbooks w where w.name = '<workbook name>')
AND historical_event_type_id='84';
(historical_event_type_id 84 refers to view access events)
For more information about this table, see historical_events in Tableau Help.
views_stats
select sum(nviews) from views_stats v where v.view_id in (select id from views where workbook_id='<workbook id>');
For more information about this table, see views_stats in Tableau Help.