You can now easily get the number of Customers linked to your Project using API and use the CustomerCount in workflows and validation rules.
How it Works
Example #1 - Validation Rule (on Project Customer Link)
Example #2 - Workflow Rule
Non-blocking action, with Red Notification
Example #3 - Custom Action
Show the "Set a Rate Card" action only if there are customers linked.