Stars matter, and due to that they have mass.
Leaving the pun to the side though, I do take into consideration how many people are using a particular library, as the common thought is that the more eyes that are on a library, the more likely someone is going to look at the code they're using and catch a security issue, or the more likely the library will be maintained well into the future.