PLA-1333 count insted of sizeof, implode instead of concat