Count total number of albums

please try this I hope it helps

$filename(mp3.txt)$loop(%album%,1)$if($eql($strstr(%_extension%,mp3),0)
,,%_counter% - %album%)
$loopend()