Use semantic markup for the artefact count
Add comment about artefact_scope method
Don't apply a filter for an invalid state

This also includes a similar functional test for checking an invalid 
kind parameter.