Ten inmates were discovered missing during a routine head count, the sheriff's office said. Two have since been found.