You can have covid many times, and there is no specific number of infections, because the immune response varies from one person to another in its strength and duration, especially after the emergence of the Omicron mutant, which doubled the rate of infection with the virus.