On
ucp.php?i=ucp_zebra&mode=friends
ucp.php?i=ucp_zebra&mode=foes
say e.g.,
You currently have 123 friends out of a maximum limit of 500.
You currently have 123 foes out of a maximum limit of 500.
If there is no limit, then say
You currently have 123 friends out of a maximum limit of [unlimited].