added class count