title: Mysql - count values from comma-separated field
body: <p>I have to do some statics from read-only db where value are stored in a weird form</p>
  
  <p>example:
  I have 2 rows like</p>
  
  <pre><code>ID    text field 
  1     1001,1003,1004 
  2     1003, 1005
  </code></pre>
  
  <p>I need to be able to count that this is "5".</p>
  
  <p>I don't have write access so don't know how to read and count right away without creation a function or something like that.</p>