Yes, Tableau is able to do a distinct count of days in a time period. However, I am not sure I completely understand what is trying to be done. Would you be able to post a sample workbook (twbx file)?
Can you let us know formula to calculate no. of quarters in a year. basically count of quarters in a year.