get a user property list

Hello, i am trying to get the size of a list of diplomats from a relation in my user properties
my user contain a relation property named Diplomats related to an object Diplomat and i want to display the number of diplomats of the user, i tried the aproch discribed in the documentation but it didn’t work for me
can you help me do that?

This is duplicate issue

http://support.backendless.com/t/get-users-list-properties