Count outcomes using tree diagrams