Fix counting upsert problem