Counting stars is constant-degree optimal for detecting any planted subgraph | Synapse