In Canada, Ontario and Quebec have their own province-level police forces, but the rest of the provinces 'contract' the RCMP to do street-level policing in many areas (with larger municipalities having their own forces). Part of the reason for this is that with any organization there's overhead (training, HR, payroll/pensions, etc), and for smaller communities a larger portion of a fixed budget would go to those things, so by leveraging the RCMP those fixed costs are amortized wider.
In Ontario/Quebec, many smaller communities use the OPP/QPP for local policing (larger cities have their own forces) for the same reason.
For the community in the article, is there a reason why the same 5 cops couldn't become employees of the county's force? For really small counties, it may be necessary / useful to 'contract' the state police to run a local detachment.