title: im trying to make a role count on a server and i dont know how to get the role count
body: <p>im new to this and i tried making a role count:
  i tried this:</p>
  
  <pre><code>const RolesChannel = client.channels.get("649537269988065280")
    RolesChannel.setName(RolesChannel.guild.Roles + ' Roles!')
    console.log('updated ' + RolesChannel.guild.name+ '\'s Roles channel!')
  </code></pre>
  
  <p>it would name the channel: undefined Roles!</p>
  
  <p>and then i tried:</p>
  
  <pre><code>const RolesChannel = client.channels.get("649537269988065280")
    RolesChannel.setName(RolesChannel.guild.Roles.size + ' Roles!')
    console.log('updated ' + RolesChannel.guild.name+ '\'s Roles channel!')
  </code></pre>
  
  <p>it would just crash with this error message:</p>
  
  <pre><code>TypeError: Cannot read property 'size' of undefined
  at SEES (C:\Users\enfri\Documents\discord bot test\!testo.js:845:53)
  at processCommand (C:\Users\enfri\Documents\discord bot test\!testo.js:342:10)
  at Client.&lt;anonymous&gt; (C:\Users\enfri\Documents\discord bot test\!testo.js:148:10)
  at Client.emit (events.js:210:5)
  at MessageCreateHandler.handle (C:\Users\enfri\Documents\discord bot test\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
  at WebSocketPacketManager.handle (C:\Users\enfri\Documents\discord bot test\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
  at WebSocketConnection.onPacket (C:\Users\enfri\Documents\discord bot test\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
  at WebSocketConnection.onMessage (C:\Users\enfri\Documents\discord bot test\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
  at WebSocket.onMessage (C:\Users\enfri\Documents\discord bot test\node_modules\ws\lib\event-target.js:120:16)
  at WebSocket.emit (events.js:210:5)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/9dZQx.png" rel="nofollow noreferrer">sceenshot of the channel</a></p>