How do you filter coffee grounds from an espresso shop drain?

The grounds are usually caught in your p-trap. You can go to most hardware stores aud purchase a device that attaches to the end of a garden hose and inserts into your drain pipe and shoots a high pressure stream of water into your drain pipe. If it is just coffee grounds this should work