Scenario:
User has taken a Maternity Time Off for 90 Days but while booking the Time Off system is excluding Weekly Days Off and Holidays and the number of Time Off taken is showing as 62 days instead of 90 days.

Resolution:
In order to get the correct number we would have to modify User's profile before booking the Time Off. Weekly Days Off should be unchecked and Holiday Calendar must be set to None and after booking the Time Off set both the fields back to its original setting.