Dear Sanjukta,
What you have done is all right except for the counting rule. you should check in the Sunday also, please find below a screen shot, this will solve your answer, please remember that one you check in sunday, then you tell the Counting rule to count even Sunday as a day off. please work and study Count rule properly from help.
Zulfikarlos