Edge Machine Learning for Cluster Counting in Next-Generation Drift Chambers