new test case: counting compose ports