If upon the trial of such writ or information the defendant be found guilty, or not guilty, of any of the charges therein, the verdict shall be "guilty," or "not guilty," as the case may be; but if he be found guilty as to a part of such charges only, the verdict shall be guilty as to such charges and shall particularly specify the same, and as to the residue of such charges the verdict shall be "not guilty." Against a defendant so found guilty, the court shall give such judgment as is appropriate and authorized by law, and for the costs incurred in the prosecution of such writ or information, including an attorney's fee of not less than ten nor more than fifty dollars, to be fixed by the court.
W. Va. Code § 53-2-7