The number of cash machines that have closed in Flintshire and Wrexham in recent years has been revealed.