title: how to get info from a logical input
body: <p>I have a data like this </p>
  
  <pre><code>df&lt;- structure(list(rowid = 1:12, P = c(TRUE, TRUE, TRUE, TRUE, TRUE, 
  TRUE, FALSE, TRUE, TRUE, FALSE, TRUE, TRUE), T = c(TRUE, TRUE, 
  TRUE, TRUE, TRUE, TRUE, TRUE, FALSE, TRUE, TRUE, TRUE, TRUE), 
      X = c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, FALSE, TRUE, TRUE, 
      FALSE, TRUE, TRUE)), row.names = c(NA, -12L), class = c("tbl_df", 
  "tbl", "data.frame"))
  </code></pre>
  
  <p>I want to see how many overlapped are between each column and then make a Venn diagram. So I a desire output is like this </p>
  
  <pre><code>        overlap      total     
  P_vs_T  9            10        
  P_vs_X  10           10 
  T_vs_X  9            11
  T_Vs_P  9            11
  </code></pre>