add page number on multi sheets dwg automatically

Aybody can explain me how to set automatically sheet numberlike "1 OF 2" on a dwg sheet.SolidworksDrawings And Detailing