included ace count method in calculate