How many establishments have 'Serviços de engenharia' as their primary economic activity?
SELECT COUNT(*) FROM establishment e JOIN economic_activity ea ON e.primary_economic_activity_id = ea.economic_activity_id WHERE ea.name = 'Serviços de engenharia';
6