Hi Khaled,
Do you have access to the CRM Server machines? If so, you can do this via SSMS. Each CRM installation will have its own DB.
Alternatively you can access the web application of CRM (for all versions) and go under Settings - Administration - Users and get the information on how many users/what roles they have in the application.