The FIFO Queue block can report the queue length, that is, the number of entities it stores at a given time during the simulation. To configure the FIFO Queue block to report its queue length, do the following:
1. Double-click the FIFO Queue block to open its dialog box. Click the Statistics tab to view parameters related to the statistical reporting of the block:

2. Set the Number of entities in queue parameter to On (внести метку в поле
) and click OK. This causes the block to have a signal output port for the queue-length signal. The port label is #n.