Tilings by translation: enumeration by a rational language approach