PIR Sensor output to firebase

There are several threads out here related to people counting - do a search.

It's not trivial, at all, and the best results are probably by using image recognition techniques (and that's out of scope of Arduinos).