Preheat oven to 350 degrees Fahrenheit and line baking sheets with parchment paper or a nonstick baking mat.
In a food processor, pulse the chocolate wafer cookies until they are finely ground. Measure out 1 cup.
Beat the butter, cream cheese, sugar, and vanilla extract until creamy.
Beat in egg until just incorporated.
Beat in the salt, 2 cups flour, ground chocolate wafer cookies, and unsweetened cocoa powder until the batter is thick and does not stick to your hands. If you have a KitchenAid you can probably mix the whole thing with it but I just have a hand held and I eventually had to knead the dough with my hands to mix everything together (I didn't want to risk overheating my mixer).
Add the last 1/2 cup of flour as you shape the dough into a flat round, kneading it into the dough mixture. This serves as a good test of the cookie dough. It should be sticky but not wet. If you place it on an un-floured surface and pick it up, there shouldn't be that much dough sticking to the surface. Cover the dough in plastic wrap and refrigerate for 30 minutes.
Roll out the dough on a lightly floured surface till it's 1/8th of an inch thick.
Use a heart shaped cookie cutter (3 x 2.5 inches) to cut dough and then place the cookies on the lined baking sheets.
As the dough warms up sometimes it's harder to peel the cut cookies off the counter top. Keep the surface covered in flour and pick up the cut cookies with hands dusted in flour.
Take the leftovers and knead the dough into a ball again and roll it out, using flour when necessary. Cut more cookies. Continue until there is no more dough.
Bake 18 to 20 minutes and cool on a wire rack.