Wow, this is such a simple application of ML and it is incredibly valuable. On their website, they charge $100/month per device or $1000/year per device [0] and I bet they're making a killing. [0] https://countthings.com/en/
I wish I could get a bead on how useful ML is. Hackernews makes me think it’s all hype.
If your data is good and you can fit it to a model it will work.
The problem is that data is often poor and the idealized models don't fit real world conditions so you can have problems like overfitting.