It counts because you fixed it very quickly...and the post doesn't say 'edited'.
I believe you have 30 seconds or a minute or so to edit your post without it showing that it was actually edited.
Why do people not follow the rules?
Since I did not go back and see this...I am going to say yes. @Lemon-Drop's guess will count.
Edited posts are out...no matter what. They will not count. Period