Get type count