Add count and native method to osiscmds