Bounding the number of limit cycles of discontinuous differential systems by using Picard–Fuchs equations