My account list shows that I didn't earn any badges on CS50, but that's not true.
CS50 is a special site, in that it's in perpetual private beta, but not so special that the network aggregator can't determine the number of badges. It's even capable of doing that for Area 51 which runs on a really old version of the Stack Exchange platform. Also, it used to work properly, as can be seen from e.g. this Wayback Machine copy.
Not everybody is affected by this bug, here is the network profile of the top user at CS50 and for him, the badges are shown. However, one of the moderators is affected.