Neighbor 5G

Hello,
What is the maximum number of neighbor relation that we can declare in 4G-5g and 5g-5g in NSA mode and SA. Its by freq
Thanks