I am very newbie to Dominion. Looking at Smithy Village strategy which has the following buying script
$8 or more to spend: Province (if you have 5 or more Smithies)
$5: Duchy (if there are 3 or less Provinces left)
$2: Estate (if there are 2 or less Provinces left)
$6: Gold (max 2)
$5: Market (max 5)
$4: Remodel (1), otherwise Militia (1), otherwise Village (if you have less Villages than terminal actions), otherwise Smithy
$3: Village $2: Cellar (max 2)
what does it mean if you have 5 or more Smithies? Does it mean 5 Smithies in my discard pile?).
Similarly when it says if there are 3/2 or less Provinces left are these in the supply pile? And max 2 or max 5 means 2/5 in the discard pile? And if you have less Villages than terminal actions means in the discard pile?
Finally this is a buy strategy. What should the strategy be as far as which actions to play?