Calculate number of overlapping intervals at x : <p>Let's say I have a number of intervals on the same x axis. How do I get the number of intervals for a specific x value?</p>

<p>I search for an easy solution with a python package.</p>

<p><a href="https://i.stack.imgur.com/Tq5KL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tq5KL.png" alt="enter image description here"></a></p>
