Faster motif counting via succinct color coding and adaptive sampling