Currently the Extension Manager looks up the field
in the extension repository repository on how many
extensions are in the system.
Since the result of this getter might be a string
or the number in there might not be up to date,
the EM does not update the extension list.
Change that to a count on the extension table,
which is the wanted behavior here.