put wrappers for counting keys