Changed rating count check logic