select name as StoredProcedureName from sys.procedures
select count(*) as ProcedureCount from sys.procedures
select count(*) as TriggerCount from sysobjects where type='TR'
Select name as TriggerName from sysobjects where type='TR'
select count(*) as FunctionCount from sysobjects where type='FN'
Select name as FunctionnName from sysobjects where type='FN'This script helps you to Get StoredProcedure,Trigger,Function Name with counts From DataBase
