Retrieve updated asset tags via C++

Hello!
So I am very new to Unreal Engine and have stumpled across some issues…

I have created a custom asset that has a tag called “MaxCount”. I can edit it via the editor and when I exit the game, the value is still there.
Now I want to access this value when dragging my asset to the world. I do get a list with assets, but the value of my MaxCount remains the default value, namely 0.

I declared the MaxCount like this:

UPROPERTY(EditAnywhere, BlueprintReadOnly, AssetRegistrySearchable, Category = Max)
int32 MaxCount;

Does someone know what I am doing wrong?

Btw, I am accessing the tags within the actor like this:

TArray<UObject::FAssetRegistryTag> tags;
	this->GetAssetRegistryTags(tags);