Added playlist counter functionality