Implement LCOM1 scoring