KeyIndexCounting.hs, added comments.