• This method should be faster

    SELECT rows FROM sysindexes

    WHERE id = OBJECT_ID('YourTableName') AND indid < 2