Analytics: count flat badges requests.

Related to issue #185.