the riflemen had had a brief skirmish with british troops two days before , and owing to the work of ian and the other scouts , general gates knew very well the size and disposition of burgoyne 's army .