Fix for  U4-3529  Ysod editing Partial View

Fix for http://issues.umbraco.org/issue/U4-3529 Select 1 will return null which can't be converted to a type in PetaPoco. Select Count(*) will always return a result so when count is greater than 0 we have parameters