Kayla bought 8 hot dogs and hamburgers for her and her friends. Hot dogs cost $1.50 and hamburgers cost $1.75. If she spent a total of $13.25, how many hot dogs did she buy?