title: Animated number counter from 0 to a PHP value
body: <p>I have a website and there I fetch the number of users online on my Discord server like this:</p>
  
  <pre><code>&lt;?php
  $members = json_decode(file_get_contents('https://discordapp.com/api/guilds/356230556738125824/widget.json'), true)['members'];
  $membersCount = 1;
  foreach ($members as $member) {
          $membersCount++;
  }
  ?&gt;
  </code></pre>
  
  <p>And then display it like:</p>
  
  <pre><code>&lt;p&gt;&lt;?=$membersCount?&gt;&lt;/p&gt;
  </code></pre>
  
  <p>It works fine without problem.</p>
  
  <p>The problem is I don't want it to instantly pop up the amount of users online, I want it to smoothly transition from zero to the returned PHP value.</p>
  
  <p>I have never tinkered with PHP / HTML and such before so I thought that this might be fun.</p>