Noah built a fenced dog run that is 8 yards long and 6 yards wide. He placed posts at every corner and every yard along the length and width of the run. How many posts did he use?