select count(*) from master.dbo.spt_values option (use plan N' ')