since we are casting this to long we should be using COUNT_BIG