Add sample count.