How can I calculate the number of Mondays and Thursdays(Can be any two days of the week) between start date and end date given by the user?