SELECT COUNT(*) FROM boatpublic W1 WHERE W1.bitShare&1 AND (W1.idSy=5049) AND W1.lockPunish=0 AND W1.bClass=2ÔłĘder=VALD AND W1.boatCat='2'