UHM-937 Fix the match to get the total amount of service types