Do investors get bonus on bonus shares?

If a company issues 1:1 bonus in year 1 and if I had initially 2 shares then now total shares will be 4. Now in year 2 if they again issue 1:1 bonus share then I will have total 8 or 6 shares?

You will have 8 shares after the second bonus.

Bonus shares are identical to non-bonus shares in all respects.