Use this function to get the number of tcp/ip messages in queue. You can see the message queue clicking on menu button "status". The function doesnt demand any parameter.
Example:
%System.CountTCPMessage()
If the message "This is my LCD" and "Hello World" is in queue, the function returns 2.