thank you for sharing your question with the Wefugees Community.
Unfortunately, since 2011 the Jobcenter or the employment agency does not contribute to one's pension if he/she is in Jobcenter and gets SGB ll. This period of time, in which you are in SGB ll, is counted as Anrechnungszeiten (counting times/crediting times) and you usually receive a letter from employment agency about your Anrechnungszeiten. In fact, the number of paying points for these times is calculated in the overall performance evaluation as the average value of all paying points earned in relation to the total period of occupancy.
Here is some more information about it, however, in German: file:///C:/Users/Noori/Downloads/arbeitslos_was_sie_beachten_sollten.pdf
I hope my answer was useful for you and I'll be very pleased if you contact me again with further questions. I'm a member of the MBEON-staff and I‘ll be glad to guide you over a longer period of time. Mbeon is an online consultancy for migrants via the mbeon-app, which you can install on your smartphone for free. Download it via App Store or Google Play Store. You'll find me In the mbeon-app under my name „München, Herr Noori“ and get confidential one-to-one advice in a safe virtual room where nobody can wiretap messages. Further information: www.mbeon.de.