For research purposes, I need to gather some statistical data from several non-public groups, like post count, number of videos, number of emojis etc. I have considered counting everything by hand, which would be possible but very tedious. On the other hand, writing a custom browser extension that counts these things for me while I only scroll, would make the research quicker and more effective. However, Facebook strictly forbids scraping. Would this be considered scraping, and thus against the terms of service?