only allow get_key_count on master
Merge pull request #17 from Incubaid/get_key_count

only allow get_key_count on master