Design of Support Measures for Counting Frequent Patterns in Graphs