I used the EQUATE node (“==” or “equals to”), assuming I understand you correctly. When “Memories” = 5, the “Has_Memories?” Is finally set to TRUE.
Then, you would have your quest/character BP check for this condition.