Articled Assistants are supposed to receive stipends throughout, except for the excess leave period, as per regulation 48, here -
Other regulations here -
Your Principal might not give you stipend during your leave period, if you have already used up your leave quota, or just like that, but might give it just before signing of completion of articles, if you have any balance left.
Receipt or Non-Receipt of stipend is irrelevant to calculation of leave. If non-receipt of stipend in any month led to not counting of leave, then people could have dummy for free.. ;) Couldn't they??
Anyway, as suggested above, better confirm it with ICAI, here -