title: Count specific days of week between two dates
body: <p>I need to calculate number of spesific days (ex. wednesday &amp; thursday) between two dates.</p>
  
  <p>I know about time function and all related ones, but I do not know how to use them in this context.</p>
  
  <hr>
  
  <p>The problem solved in two solutions, but it seems I can't choose booth solution.
  Thank you <a href="/users/1167953/andrius-narusevicius">Andrius Naruševičius</a> and <a href="/users/1723545/kickstart">Kickstart</a> for your enlightment :D</p>