how to groupby and count on every column in r : <p>I have a following dataframe in r</p>

<pre><code>   Introvert     Extrovert    Biased     Village.Name
    Positive      Negative    Negative     ABC
    Negative      Negative    Negative     ABC
    Negative      Positive    Positive     ABC
    Positive      Negative    Negative     DEF
    Negative      Positive    Positive     DEF
    Negative      Positive    Positive     DEF
</code></pre>

<p>I want to count <code>Positive</code> in every columns grouped by <code>Village.Name</code>  </p>

<p>My desired dataframe would be</p>

<pre><code>    Village.Name     Introvert    Extrovert    Biased
     ABC                1            1           1
     DEF                1            2           2
</code></pre>

<p>How can I do it in R?</p>
