On a fresh SonarQube instance, when analysing only one project, the result of api/system/info contains :
As we can see, 2 projects are returned whereas only one project has been analysed.
And when analysing more projects, the value returned by the WS is always twice the real value.
This issue is also impacting the telemetry, as both this WS and the telemetry are using the same data.
The data that is returning the number of project is generated by ProjectMeasuresIndex#searchTelemetryStatistics.