title: Obtain the number of CPU cores in Julia
body: <p>I want to obtain the number of cores available in Julia. Currently I am doing the following:</p>
  
  <pre><code>using PyCall
  @pyimport psutil
  nCores = psutil.cpu_count()
  </code></pre>
  
  <p>This calls a Python function. I would like, however, to use some Julia procedure. How can it be done?</p>