Fixed error in pinterest count variable