If your company refuses to extend your H1, you cannot get H1 extension. If company agrees to sponsor your H1 extension, you can get it beyond 6 years limit based on the approved I-140. You don't need to calculate those remaining time because you can use AC21 104c.