Returns the number of sheets in a given reference.
SHEETS(reference)
SHEETS(Sheet1.A1:Sheet3.G12)
SHEETS(G4:H6)
SHEETS(D8)