AIM_BITMAP_COUNT to get number of bits set in aim_bitmap
Optimized bit-count logic as per comments
Merge into master from pull request #5:
AIM_BITMAP_COUNT to get number of bits set in aim_bitmap (https://github.com/floodlight/infra/pull/5)