IF: Does parental leave count towards the mobility rule or not?

A researcher wants to apply for an IF in country A. During her maternal leave she has been residing in country A. Does this count towards the rule or not? 
Parental leave does count indeed towards the mobility rule. But the researcher can apply within the Career Restart Panel CAR which has a relaxed mobility rule.