Answers.Body: <p>Updated: There is an <a href="https://www.putyourlightson.net/craft-entry-count" rel="nofollow noreferrer">Entry Count</a> plugin that is designed to do exactly this, written by Ben Croker. Thanks Ben!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-21T16:35:15.547Z
Answers.Text: Note that this has been replaced by [Entry Count](https://github.com/putyourlightson/craft-entry-count).
Answers.UserDisplayName: Katrin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-27T20:19:50.287Z
Answers.Text: The Entry Count plugin is available at https://www.putyourlightson.net/craft-entry-count
Answers.UserDisplayName: Ben Croker
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-08T16:56:53.417Z
Answers.LastActivityDate: 2017-05-29T18:25:57.790Z
Answers.LastEditDate: 2017-05-29T18:25:57.790Z
Answers.UserDisplayName: Douglas McDonald
Answers.Body: <p>The <a href="https://www.putyourlightson.net/craft-entry-count" rel="nofollow noreferrer">Entry Count</a> plugin will do this for you (previously the Counter plugin).</p>
  
  <p>You can loop through the most read articles as follows:</p>
  
  <pre><code>{% set countedEntries = craft.entryCount.entries %}
  
  {% for entry in countedEntries %}
      {% set count = craft.entryCount.count(entry.id) %}
      {{ entry.title }} ({{ count }} views)
  {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-27T20:19:16.857Z
Answers.LastActivityDate: 2017-05-27T20:19:16.857Z
Answers.UserDisplayName: Ben Croker
Body: <p>How can I add a counter or something similar to my entries, so that I could loop through the most read articles?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-08T16:01:24.367Z
Comments.Text: There is a [counter plugin](http://straightupcraft.com/craft-plugins/counter) that is designed to do exactly this, which is currently in private beta written by Ben Croker. Perhaps if you contact the developer, he might let you participate in the beta.
Comments.UserDisplayName: Douglas McDonald
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-08T16:25:37.110Z
Comments.Text: @DouglasMcDonald Might want to post that as an actual answer ;)
Comments.UserDisplayName: Brandon Kelly
Tags: <entries><entry>
Title: Counter for entries to show most read Articles
ThreadText: # Counter for entries to show most read Articles
  
  (Asked by: username_0 on 2014-10-08)
  
  How can I add a counter or something similar to my entries, so that I could loop through the most read articles?
  
  **Tags:** entries, entry
  
  > **Comments:**
  > **username_1**: There is a [counter plugin](http://straightupcraft.com/craft-plugins/counter) that is designed to do exactly this, which is currently in private beta written by username_4. Perhaps if you contact the developer, he might let you participate in the beta.  
  > **username_2**: @username_1 Might want to post that as an actual answer ;)  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2014-10-08. Score: 3 | Accepted answer
  
  Updated: There is an [Entry Count](https://www.putyourlightson.net/craft-entry-count) plugin that is designed to do exactly this, written by username_4. Thanks Ben!
  
  > **Comments:**
  > **username_3**: Note that this has been replaced by [Entry Count](https://github.com/putyourlightson/craft-entry-count).  
  > **username_4**: The Entry Count plugin is available at https://www.putyourlightson.net/craft-entry-count  
  
  ---
  
  ### Answer by username_4 on 2017-05-27. Score: 1
  
  The [Entry Count](https://www.putyourlightson.net/craft-entry-count) plugin will do this for you (previously the Counter plugin).
  
  You can loop through the most read articles as follows:
  
  ```
  {% set countedEntries = craft.entryCount.entries %}
  
  {% for entry in countedEntries %}
      {% set count = craft.entryCount.count(entry.id) %}
      {{ entry.title }} ({{ count }} views)
  {% endfor %}
  
  ```
  
  
  ---
  
  