You could do this with PROC MEANS (particularly if you want an output dataset) or you could get a report from PROC MEANS, PROC TABULATE or PROC REPORT.
The downside of PROC MEANS is that it is great at making an output dataset, but the dataset might not be in the structure you describe.
The other procedures (TABULATE, REPORT) give you more control over the way the output report would look. The method you choose will depend on whether you want an output dataset (for further analysis) or an output report (for sending out the success results as a summary report).
Without sample data I cannot interpret your question. You should alway provide sample data with data statement to read it or a data step the generates the data.
I will make a guess perhaps that will further the discussion. I think you have indicator variables type1-type5 and you want to summarize them to get N, Count and percent.
*** Gen some data;
proc plan seed=1567462051;
factors id=20 ordered type=1 of 5;
proc transreg data=types design;
model class(type / zero=none);
output out=Response(drop=_: inter: type);
title 'Does your data look like this?';
proc contents varnum;
Title 'Do you want a report like this?';
proc tabulate FORMCHAR="|----|+|---+=|-/\<>*";
type1 type2 type3 type4 type5,
(N='N'*f=f2. sum='Success'*f=f7. mean='Rate'*f=f4.3);