Add Metric and count views on posts and main page