add function to count the ships in play