title: displaying frequence by total
body: <p>I have a table sales </p>
  <pre><code>date    product     subproduct 
  01/02/2022  SUNDAE  SUNDAE1
  02/02/2022  40/50 CL    wwwww
  05/02/2022  SUNDAE  SUNDAE2
  01/02/2022  40/50 CL    vvv
  07/03/2022  40/50 CL    vvv
  </code></pre>
  <p>here's a summarized table, frequence count the number of frequence of each product exists in the table sales indepedently from date: </p>
  <pre><code>product subproduct  Frequence
  SUNDAE  SUNDAE1 1
  SUNDAE  SUNDAE2 1
  40/50 CL    wwwww   1
  40/50 CL    vvv 2
  </code></pre>
  <p>I need to display in chart frequence by Total, by generating  GENERATESERIES ( 1, max_freq) which max is the maximum frequence</p>
  <pre><code>Frequence   SUNDAE1 SUNDAE2 wwwww   vvv Total
  1   1   1   1   0   3
  2   0   0   0   2   2
  </code></pre>
  <p>Any idea?</p>