B\'ezout type inequality in convex geometry