title: Getting count of members with presence 'Online' DiscordJS
body: <p>I just want to get the count value alone without having to convolute with a loop. I believe this to be extremely simple, but all my usual approaches are giving me promise rejections from the library. </p>
  
  <pre><code>// Get our server
  const guild = bot.guilds.get('388093207575134208');
  
  // Get our stats channels
  const totalUsers = bot.channels.get('470358845751951361');
  const onlineUsers = bot.channels.get('470366354222874665');
  const codeMonkeys = bot.channels.get('470358906225295391');
  
  
  var userCount = guild.memberCount;
  var onlineCount = guild.members.filter(m =&gt; m.presence.status === 'online');
  </code></pre>
  
  <p>Getting the members in that presence is pretty easy, but I can't seem to just get the <code>length</code> of the returned collection.</p>