Does Google count website Speed as A Ranking Factor?



In general, it has no direct effect. At least I can not find such information. However, it worsens the user experience, and the longer the page opens, the greater the chance that the user will drop your resource.
 
Google provides recommendations for designing your website. One of them is to verify the speed by checking how the page loads on your mobile device. Test the loading speed and confirm if the page is mobile-friendly (you can validate this using Google's Mobile-Friendly Test tool)