title: How to get the right page count?
body: <p>I am new to JavaScript, I want to get the right page count.</p>
  
  <p>if one page the item count is <code>20</code>, and the page count is 23, the page should be <code>2</code>.</p>
  
  <pre><code>var count = 23
  
  var per_page_count = 20
  </code></pre>
  
  <p>If in other language we can use:</p>
  
  <pre><code>count / per_page_count + 1
  </code></pre>
  
  <p>to get the page count, but in JavaScript we can not get it.</p>
  
  <p>I also tried use <code>Math.round</code>, still not work</p>
  
  <pre><code>console.log(Math.round(count/per_page_count))  // there I want to get 2, but get 1
  </code></pre>