Maternity Leave

Hi. I’m currently 10wks pregnant. I’m wondering, how many days of maternity leave am I entitled to? 2mths or 4mths? I’m a PR and I may have my child to be a PR instead of singapore citizen. Not sure how will this affect the maternity leave calculation.