When a period of leave or absence “counts as service for all purposes”, it’s treated as if you were working. You keep accruing leave and service towards entitlements, and employer superannuation contributions continue (subject to your super fund’s rules).