Try this : This will include all rows, even if they are collapsed.
101 ignores the hidden row but 1 includes the hidden row
=IFERROR(IF(SUBTOTAL(1,[Shortcut])>2,
ROUNDUP(SUBTOTAL(1,[Shortcut]),0),
ROUND(SUBTOTAL(1,[Shortcut])-0.01,0)
),
"-")