Layedtiles count

-includes a little bug