US Visa Max out calculation

L1B Issue date : 09JUL2012 Exp date : 05JUL2015 . Date of first visit : 20JUL2012 and Last exit in L1B on 11APR2015.

Same year 2015 I got my New H1B picked in lottery and approved. But went for stamping on 04APR2016 then entered in US with H1B ON 17JUL2016 and continuing now in H1B.

Now my query is whether my max out period will be calculated based on L1B entry OR

Due to more than a year stay in India, will it be from H1B entry date.

L and H would be considered as same when calculating the status on those visas in US.