If you H1-H4 and now COS to H1 has been continuous.
So the H1B now is not subject to annual cap. But you are subject to the total 6 year H limit.
But if you have H1, but later left USA for months and then returned. And since your last entry after the long leave from US, you did not in anytime in H1 status, then your new H-1 will be considered as first-time and subject to cap, but you can reset the 6-year limit.