revert microoptimization

Revert for loop precount as it is executed only one time