Patch for duplicate column in count