To clear the lightning bolt counter you can do like @Edcfish said and right click and select clear. To clear the other one, view the system log. You can turn off either counter if you want in UI Settings. Filter by "Counter" to find the settings quickly.