And can I earn more benefits if I have more credit?
The number of credits does not affect the amount of benefits you receive. It only determines if you are eligible or not. You do not get additional benefits for earning more than the minimum number of credits.
and on what are the credits based?
Credits are based on your total salary and self-employment income for the year.