Counting rows in SAS and R is approached differently, because the two programs process data in different ways. Read my blog post where I describe both ways.
In this blog post, I walk you through SAS Download and Install steps 1 and 2. In those steps, you make a free account with SAS, and you download and install Oracle’s VirtualBox. The screen shots in this post will get you ready for what you will see when you do these steps.