Confusion regarding a test case

what will be the expected answer for n=2
1 3
2 2

i am talking about the case when two bridges have same end point or isn’t there any case like this??

hello @Shobhit_kumar

image

as per given statement answer shoud be 2 (they are not considering end point as valid intersection)