Fix bad syntax in for loop procedurally generating count.
Add behavioral specification.
Add structural specification.