結果 : step count method for time complexity analysis