Encountering a Shiny Pokémon is not based on the number of times you've seen a species. It is a random probability determined by the game's internal "Shiny Value" calculation.
Each encounter has a fixed low chance (e.g., 1/4096 in modern games), completely unaffected by previous encounters. There's no "shiny chain" memory in the base games—every reset, every encounter, is an independent roll of the dice.
Methods to increase odds exist (Shiny Charm, Masuda Method, Max Raids, outbreaks in newer games), but the fundamental mechanic remains: independent probability per encounter.