How to get total number of roles in Salesfore?

Sample SOQL:

SELECT COUNT(Id) FROM UserRole

Cheers!!!