Updates for snippet with normal for syntax

Before this patch the for loop would have been

for(i; i < count; count++) {
  #...
}

This increments the control variable which isn't the norm so I thought it would be better served as:

for(i=0; i < count; i++) {
  #...
}

Amos King @adkron <amos.l.king@gmail.com>