I wrote:
Я вижу один мужчину. Он очень грязное.

I was told this is more correct:

Я вижу одного мужчину. Он очень грязный.

Why is the genitive form of один used instead of the accusative?

Thank you,
Gnome