Counting Functions - BrilliantBits