as much

Are these sentences correct:
[color=red]
1-Pete is as much a detective as John is.
[color=indigo]2-Pete is as much a detective as John.

[color=red]
3-Pete is as much of a detective as John is.
[color=indigo]4-Pete is as much of a detective as John.

Gratefully,
Navi.

I suppose they are all possible, though I would only use the second versions.