Check the following:
select type(count(*)),cast(count(*) as decimal(18,0)) from table;
Attachments
Library
Quick Reference
Archives
Sample Index
2009 Indexes