Added count feature.