The code provided doesn't include data but maybe it's enough to go on. It seems like you've already removed duplicates and you're looking to count up the number of observations. A simple solution would be to use PROC FREQ to obtain counts, with a format applied to the date to display as week of the year.
proc freq data=have;
tables entrydate;
format entrydate weekw5.;
run;
The format applied to entrydate in the code above (WEEKWw.) will format the date variable to display a two digit year (25), followed by W, and the week of the year (example: Aug 31st, 2025 = 25W34), for a total of 5 characters in the displayed formatted value. PROC FREQ will automatically use the formatted value to aggregate results.
Documentation for the format WEEKWw. available here: https://documentation.sas.com/doc/en/leforinforref/3.2/n1fg8h5vu3iuknn1jc178ar8e26r.htm (Note that this format assumes Monday is the start of the week, whereas WEEKUw. assumed Sunday is)
... View more