title: Count Delimiter in a string in Java
body: <p>i have a string in Java. </p>
  
  <pre><code>1|2|3|4|5|2|2|3|4|123441|234556|67783|56764|55454
  </code></pre>
  
  <p>i want <strong>to count a delimiter above string</strong>. Please help me in how to count and i want only starting 7 Delimiter value. </p>