added putCount()