Yes, Spotify counts streams on repeat. If the song is played for 30 seconds, it will be counted as 1 stream.