Where is the entity in code field? [Display suite module] I create a code field in Display Suite module and I need to insert a format_plural in it like

print format_plural([node:comment-count],  '1 Comment',  '@count Comments');


but token do not work in php block so I tryed: 

dsm($node);
dsm($entity);
dsm($object);


but they do not work because 'Undefined variable' error.
Where is the node variable in display suite code field?

How can I achieve this output?

There is the screenshots
SOLVED!

I needed to enable 'Display Suite Format' module.
If enable it give me a new text format 'Display Suite code' which give an $entity variable inside a code field!