title: Calculate number of specific days in range
body: <p>How can I count the (fractional) count of specific day of the week in a range?  For instance, if the range is from Monday, June 3 12:00 P.M. to Tuesday June 4 12:00 P.M., and I want to count the number of Mondays, the formula would return the result 0.5.</p>
  
  <p>I've already found a formula for the integer number of days: </p>
  
  <p><code>=SUM(INT((WEEKDAY($B2-x)+$D2-$B2)/7))</code></p>
  
  <p>where <code>x</code> is the day of the week of interest (1 to 7).  Of course, it would need to be modified to return the aforementioned result.  How would I do so?</p>