Correct TeamCount return type and team argument type