rating counting method template