Spotify counts streams on repeat as long as the song has been played for at least 30 seconds before it is played again. Spotify will count streams on repeat because streams are not counted based on what song was previously streamed.