remove unused assignedCount