title: how to set a patch-variable as the number of turtles-here
body: <p>I want to set a patch variable as equal to the number of turtles on that patch.</p>
  
  <p>I have tried </p>
  
  <blockquote>
    <p>ask patches [set variableA (count turtles-here)]</p>
  </blockquote>
  
  <p>when i do this, i get the error: "set expected 2 inputs"</p>
  
  <p>i tried to use a workaround by setting the turtle-count as the plabel</p>
  
  <blockquote>
    <p>ask patches [set plabel (count turtles-here)]</p>
  </blockquote>
  
  <p>that code worked, but i need to do this for multiple variables and when i tried to transfer the plabel over to the variable</p>
  
  <blockquote>
    <p>ask patches [set variableA plabel]</p>
  </blockquote>
  
  <p>i again get the error: "SET expected 2 inputs"</p>
  
  <p>any help is appreciated.</p>