Given a certain numbered block, your task is to determine how many other blocks the numbered block touches. Blocks are considered touching only if all or part of their faces touch. Blocks that only touch corners do not count. All of the blocks in each pile are the same size and shape.