Hi,
The social security that you paid in Italy, does not count towards your UK National Insurance records. You may be eligible to pay voluntary National Insurance contributions to fill those missing years.
Further information and details on how to apply can be found here:
Social Security abroad: NI38
However, you may have enough qualifying years without the need to fill those missing years.
You should always check with the Department for Work and Pensions before paying voluntary National Insurance contributions, you can contact them on 0800 731 0175 lines are open from 8am to 6pm Monday to Friday.
Thank you