Hi,
Since it was a leave of absence for maternity and you were still holding the employment it should NOT be included as unemployment in the eligibility period calculation.
You can include a note of explanation for this along with the eligibility calculator in your application package.
All the best for the application processing!