Add permutation count related scripts

Signed-off-by: Ramasamy Chandramouli <rchandramouli@live.com>